package com.zhb.designmode.creationmode.builder.classical;

public class HuaweiPhoneBuilder implements PhoneBuilder {

    private Phone phone;

    public HuaweiPhoneBuilder(){
        this.phone = new Phone("麒麟9000","京东方");
    }

    public void setCamera() {
        phone.setCamera(4);
    }

    public void setBattery() {
        phone.setBattery("华为手机电池");
    }

    public Phone getPhone() {
        return phone;
    }
}
